package com.learn.core.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @auther CodeGenerator
 * @create 2021-03-13 19:39:54
 * @describe 课件表实体类
 */
@TableName("l_courseware")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LCourseware对象", description="课件表")
public class LCourseware implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "courseware_id", type = IdType.AUTO)
    private Integer coursewareId;

    @ApiModelProperty(value = "课件名字")
    @TableField("courseware_nme")
    private String coursewareNme;

    @ApiModelProperty(value = "课件类型")
    @TableField("courseware_type")
    private String coursewareType;

    @ApiModelProperty(value = "课件时长")
    @TableField("courseware_hours")
    private String coursewareHours;

    @ApiModelProperty(value = "组织机构")
    @TableField("organization_id")
    private Integer organizationId;

    @TableField(exist = false)
    private String  organizationName;

    @ApiModelProperty(value = "教员")
    @TableField("teacher_id")
    private Integer teacherId;

    @ApiModelProperty(value = "教员姓名")
    @TableField("teacher_name")
    private String teacherName;

    @ApiModelProperty(value = "课件分类")
    @TableField("courseware_type_id")
    private Integer coursewareTypeId;

    @TableField("create_time")
    private Date createTime;

    @TableField("create_user")
    private String createUser;

    @TableField("update_time")
    private Date updateTime;

    @TableField("update_user")
    private String updateUser;

    @ApiModelProperty(value = "状态")
    @TableField("stutes")
    private String stutes;

    @ApiModelProperty(value = "状态")
    @TableField("resources_link")
    private String resourcesLink;


    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public Integer getCoursewareId() {
        return coursewareId;
    }

    public LCourseware setCoursewareId(Integer coursewareId) {
        this.coursewareId = coursewareId;
        return this;
    }

    public String getCoursewareNme() {
        return coursewareNme;
    }

    public LCourseware setCoursewareNme(String coursewareNme) {
        this.coursewareNme = coursewareNme;
        return this;
    }

    public String getCoursewareType() {
        return coursewareType;
    }

    public LCourseware setCoursewareType(String coursewareType) {
        this.coursewareType = coursewareType;
        return this;
    }

    public String getCoursewareHours() {
        return coursewareHours;
    }

    public LCourseware setCoursewareHours(String coursewareHours) {
        this.coursewareHours = coursewareHours;
        return this;
    }

    public Integer getOrganizationId() {
        return organizationId;
    }

    public LCourseware setOrganizationId(Integer organizationId) {
        this.organizationId = organizationId;
        return this;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public LCourseware setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
        return this;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public LCourseware setTeacherName(String teacherName) {
        this.teacherName = teacherName;
        return this;
    }

    public Integer getCoursewareTypeId() {
        return coursewareTypeId;
    }

    public LCourseware setCoursewareTypeId(Integer coursewareTypeId) {
        this.coursewareTypeId = coursewareTypeId;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public LCourseware setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getCreateUser() {
        return createUser;
    }

    public LCourseware setCreateUser(String createUser) {
        this.createUser = createUser;
        return this;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public LCourseware setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public LCourseware setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
        return this;
    }

    public String getStutes() {
        return stutes;
    }

    public LCourseware setStutes(String stutes) {
        this.stutes = stutes;
        return this;
    }

    public String getResourcesLink() {
        return resourcesLink;
    }

    public LCourseware setResourcesLink(String resourcesLink) {
        this.resourcesLink = resourcesLink;
        return this;
    }

    @Override
    public String toString() {
        return "LCourseware{" +
        "coursewareId=" + coursewareId +
        ", coursewareNme=" + coursewareNme +
        ", coursewareType=" + coursewareType +
        ", coursewareHours=" + coursewareHours +
        ", organizationId=" + organizationId +
        ", teacherId=" + teacherId +
        ", teacherName=" + teacherName +
        ", coursewareTypeId=" + coursewareTypeId +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", updateTime=" + updateTime +
        ", stutes=" + stutes +
        ", updateUser=" + updateUser +
        "}";
    }
}